<!DOCTYPE html>

<html lang="en" data-content_root="../../">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />

    <title>Maestro voice detection sample using VIT &#8212; Maestro on Zephyr  documentation</title>
    <link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=d1102ebc" />
    <link rel="stylesheet" type="text/css" href="../../_static/basic.css?v=686e5160" />
    <link rel="stylesheet" type="text/css" href="../../_static/alabaster.css?v=27fed22d" />
    <script src="../../_static/documentation_options.js?v=5929fcd5"></script>
    <script src="../../_static/doctools.js?v=9bcbadda"></script>
    <script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
    <link rel="index" title="Index" href="../../genindex.html" />
    <link rel="search" title="Search" href="../../search.html" />
    <link rel="next" title="Maestro decoder sample" href="../../tests/decoder/README.html" />
    <link rel="prev" title="Maestro sample for recording data from microphone to RAM" href="../record_ram/README.html" />
   
  <link rel="stylesheet" href="../../_static/custom.css" type="text/css" />
  

  
  

  </head><body>
  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          

          <div class="body" role="main">
            
  <section id="maestro-voice-detection-sample-using-vit">
<span id="maestro-sample-record-vit"></span><h1>Maestro voice detection sample using VIT<a class="headerlink" href="#maestro-voice-detection-sample-using-vit" title="Link to this heading">¶</a></h1>
<section id="description">
<h2>Description<a class="headerlink" href="#description" title="Link to this heading">¶</a></h2>
<p>Records data from microphone (alias <code class="docutils literal notranslate"><span class="pre">dmic0</span></code> in devicetree) and detects voice commands from selected language model. Detected commands are printed via UART.</p>
<p>Language model may be changed via Kconfig using <code class="docutils literal notranslate"><span class="pre">CONFIG_MAESTRO_EXAMPLE_VIT_LANGUAGE</span></code> selection. For other configuration options, see example’s <code class="docutils literal notranslate"><span class="pre">Kconfig</span></code> and <code class="docutils literal notranslate"><span class="pre">prj.conf</span></code>.</p>
<p>This project requires an NXP board supported by the VIT library.</p>
<p>The example has to be modified if a new board needs to be added. Please create an issue in that case.</p>
</section>
<section id="user-input-output">
<h2>User Input/Output<a class="headerlink" href="#user-input-output" title="Link to this heading">¶</a></h2>
<blockquote>
<div><ul>
<li><p>Input:</p>
<blockquote>
<div><p>None.</p>
</div></blockquote>
</li>
<li><p>Output:</p>
<blockquote>
<div><p>UART Output:</p>
<blockquote>
<div><ul class="simple">
<li><p>List of voice commands the model can detect (printed immediately after start)</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">&lt;Specific</span> <span class="pre">voice</span> <span class="pre">command&gt;</span></code> if voice command was detected</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Demo</span> <span class="pre">result:</span> <span class="pre">FAIL</span></code> otherwise</p></li>
</ul>
</div></blockquote>
</div></blockquote>
</li>
</ul>
</div></blockquote>
</section>
<section id="dependencies">
<h2>Dependencies<a class="headerlink" href="#dependencies" title="Link to this heading">¶</a></h2>
<blockquote>
<div><ul class="simple">
<li><p>VIT library: <a class="reference external" href="https://www.nxp.com/design/design-center/software/embedded-software/voice-intelligent-technology-wake-word-and-voice-command-engines:VOICE-INTELLIGENT-TECHNOLOGY">https://www.nxp.com/design/design-center/software/embedded-software/voice-intelligent-technology-wake-word-and-voice-command-engines:VOICE-INTELLIGENT-TECHNOLOGY</a></p></li>
</ul>
</div></blockquote>
</section>
<section id="supported-platforms">
<h2>Supported platforms<a class="headerlink" href="#supported-platforms" title="Link to this heading">¶</a></h2>
<p>Currently tested for:</p>
<blockquote>
<div><ul class="simple">
<li><p>RD_RW612_BGA.</p></li>
</ul>
</div></blockquote>
</section>
</section>


          </div>
          
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="Main">
        <div class="sphinxsidebarwrapper">
<h1 class="logo"><a href="../../README.html">Maestro on Zephyr</a></h1>









<search id="searchbox" style="display: none" role="search">
    <div class="searchformwrapper">
    <form class="search" action="../../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" placeholder="Search"/>
      <input type="submit" value="Go" />
    </form>
    </div>
</search>
<script>document.getElementById('searchbox').style.display = "block"</script><h3>Navigation</h3>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../../README.html">Maestro on Zephyr</a></li>
<li class="toctree-l1"><a class="reference internal" href="../record_ram/README.html">Record sample</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">VIT sample</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#description">Description</a></li>
<li class="toctree-l2"><a class="reference internal" href="#user-input-output">User Input/Output</a></li>
<li class="toctree-l2"><a class="reference internal" href="#dependencies">Dependencies</a></li>
<li class="toctree-l2"><a class="reference internal" href="#supported-platforms">Supported platforms</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../../tests/decoder/README.html">Decoder sample</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../tests/encoder/README.html">Encoder sample</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../tests/memToMem/README.html">Mem2mem sample</a></li>
</ul>

<div class="relations">
<h3>Related Topics</h3>
<ul>
  <li><a href="../../README.html">Documentation overview</a><ul>
      <li>Previous: <a href="../record_ram/README.html" title="previous chapter">Maestro sample for recording data from microphone to RAM</a></li>
      <li>Next: <a href="../../tests/decoder/README.html" title="next chapter">Maestro decoder sample</a></li>
  </ul></li>
</ul>
</div>








        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="footer">
      &#169;2024.
      
      |
      Powered by <a href="https://www.sphinx-doc.org/">Sphinx 8.1.3</a>
      &amp; <a href="https://alabaster.readthedocs.io">Alabaster 1.0.0</a>
      
      |
      <a href="../../_sources/samples/record_vit/README.rst.txt"
          rel="nofollow">Page source</a>
    </div>

    

    
  </body>
</html>